package com.example.demo.module;


import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

/**
 * weidu User Bean
 */
@Data
@ToString
@NoArgsConstructor
public class UserBean implements Serializable {

	private static final long serialVersionUID = -8204080920642600329L;

	private String id;

	private String phone;

	private transient int vaCode;

	private String nickName;

	private String password;

	private String token;

	public UserBean(String id) {
		super();
		this.id = id;
	}

	public UserBean(String id, String phone, String password, int vaCode) {
		super();
		this.id = id;
		this.phone = phone;
		this.password = password;
		this.vaCode = vaCode;
	}

	public UserBean(String id, int vaCode, String phone) {
		super();
		this.id = id;
		this.vaCode = vaCode;
		this.phone = phone;
	}

}
